<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<s:layout-render name="/menu.jsp" title="editplayer">
    <s:layout-component name="body">
       <s:useActionBean beanclass="com.mycompany.sportclubmanager.PlayersActionBean" var="actionBean"/>
 
       <s:form beanclass="com.mycompany.sportclubmanager.PlayersActionBean" class="form">
           <s:hidden name="player.id"/>
           <fieldset><legend><fmt:message key="editplayer" /></legend>

			   <div class="form-errors">
					<s:errors/>
				</div>

				<div class="form-field">
					<s:label for="player_form_firstName" name="firstName"/>
					<s:text id="player_form_firstName" name="player.firstName"/>
				</div>

				<div class="form-field">
					<s:label for="player_form_lastName" name="lastName"/>
					<s:text id="player_form_lastName" name="player.lastName"/>
				</div>

				<div class="form-field">
					<s:label for="player_form_height" name="height"/>
					<s:text id="player_form_height" name="player.height"/>
				</div>

				<div class="form-field">
					<s:label for="player_form_weight" name="weight"/>
					<s:text id="player_form_weight" name="player.weight"/>
				</div>

				<div class="form-field form-field-submit">
					<s:submit name="save" class="button button-hot"><fmt:message key="save" /></s:submit>
					<s:submit name="cancel" class="button"><fmt:message key="cancel" /></s:submit>
				</div>
            </fieldset>
        </s:form>
    </s:layout-component>
</s:layout-render>